package com.shopping.miaosha.service.model;

import com.baomidou.mybatisplus.annotations.TableField;

import java.io.Serializable;

/**
 * @author canger
 * @Deseription 用户服务层模型
 * @create 2019/3/25 15:20
 **/
public class UserModel implements Serializable {

    private static final long serialVersionUID = 1L;

    private  Integer id;
    private String name;
    /**
     * 1代表男性 2代表女性
     */
    private Integer gender;
    private Integer age;
    private String telephone;
    /**
     * bywechat,byalipay,byphone
     */
    private String registerMode;
    /**
     * 第三方id
     */
    private String thirdPartyId;

    private String userPassword;

    public UserModel() {
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getGender() {
        return gender;
    }

    public void setGender(Integer gender) {
        this.gender = gender;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public String getTelephone() {
        return telephone;
    }

    public void setTelephone(String telephone) {
        this.telephone = telephone;
    }

    public String getRegisterMode() {
        return registerMode;
    }

    public void setRegisterMode(String registerMode) {
        this.registerMode = registerMode;
    }

    public String getThirdPartyId() {
        return thirdPartyId;
    }

    public void setThirdPartyId(String thirdPartyId) {
        this.thirdPartyId = thirdPartyId;
    }

    public String getUserPassword() {
        return userPassword;
    }

    public void setUserPassword(String userPassword) {
        this.userPassword = userPassword;
    }
}
